package com.service;

import com.pojo.Account;
import com.pojo.RightClassOne;
import com.pojo.RightClassTwo;

import java.util.List;

public interface LoginService {
    Account LoginReturnAccountMsgByUsernameAndPassword(Account account);

    List<RightClassOne> thisAccountAllRightClassById(Long i);

    List<RightClassOne> thisAccountRightDoByRoleId(Long i);

    boolean addLoginTime(Account account);

    Account getAccountByNameAndPhone(Account account);

    List<RightClassOne> thisAccountRightFrontStageList(Long roleId);
}
